local nongzhang = fk.CreateSkill{
  name = "wk_heg__nongzhang",

}

Fk:loadTranslationTable{
  ["wk_heg__nongzhang"] = "弄獐",
  [":wk_heg__nongzhang"] = "锁定技，你的【无懈可击】/【闪】视为【闪】/【无懈可击】；其他角色使用的牌对你造成伤害时，若你以此法响应过此牌，你防止此伤害并移除此武将牌。",
  ["#wk_heg__nongzhang_filter"] = "弄獐",
}

--   frequency = Skill.Compulsory,
--   anim_type = "negative",
--   events = {fk.DamageCaused},
--   can_trigger = function (self, event, target, player, data)
--     if player:hasSkill(self) and data.card and data.to == player then
--       local room = player.room
--       local useevent = room.logic:getCurrentEvent():findParent(GameEvent.UseCard)
--       if not (useevent and useevent.data[1].from and useevent.data[1].from ~= player.id) then return end
--       local endid = useevent.id
--       if #room.logic:getEventsByRule(GameEvent.UseCard, 1, function (e)
--         local use = e.data[1]
--         return use.from and use.from == player.id and table.contains(use.card.skillNames, self.name)
--           and use.responseToEvent and use.responseToEvent.card == data.card
--         end, endid) > 0 then
--         return true
--       end
--     end
--   end,
--   on_use = function (self, event, target, player, data)
--     if H.inGeneralSkills(player, self.name) then
--       H.removeGeneral(player.room, player, H.inGeneralSkills(player, self.name) == "d")
--     end
--     return true
--   end,
-- }
-- local nongzhang_filter = fk.CreateFilterSkill{
--   name = "#wk_heg__nongzhang_filter",
--   anim_type = "defensive",
--   card_filter = function (self, card, player, isJudgeEvent)
--     return player:hasShownSkill(nongzhang) and (card.trueName == "jink" or card.trueName == "nullification") and not isJudgeEvent
--   end,
--   view_as = function (self, card, player)
--     local c = Fk:cloneCard(card.trueName == "jink" and "nullification" or "jink", card.suit, card.number)
--     c.skillName = nongzhang.name
--     return c
--   end,
-- }

return nongzhang